package com.aiti.myproject.client.service;

import java.util.List;

import com.aiti.myproject.shared.Tag;
import com.aiti.myproject.shared.UploadImage;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

// /project_ii___web/images
@RemoteServiceRelativePath("images")
public interface UserImageService extends RemoteService {
	public String getBlobstoreUploadUrl();

	public UploadImage get(String key);

	public List<UploadImage> getRecentlyUploaded();

	public void deleteImage(String key);
	
	public String tagImage(Tag tag);

	public List<Tag> getTagsForImage(UploadImage image);


}